(0) Obligation:

Runtime Complexity TRS:
The TRS R consists of the following rules:

h(f(x), y) → f(g(x, y))
g(x, y) → h(x, y)

Rewrite Strategy: FULL

(1) RenamingProof (EQUIVALENT transformation)

Renamed function symbols to avoid clashes with predefined symbol.

(2) Obligation:

Runtime Complexity Relative TRS:
The TRS R consists of the following rules:

h(f(x), y) → f(g(x, y))
g(x, y) → h(x, y)

S is empty.
Rewrite Strategy: FULL

(3) SlicingProof (LOWER BOUND(ID) transformation)

Sliced the following arguments:
h/1
g/1

(4) Obligation:

Runtime Complexity Relative TRS:
The TRS R consists of the following rules:

h(f(x)) → f(g(x))
g(x) → h(x)

S is empty.
Rewrite Strategy: FULL

(5) TypeInferenceProof (BOTH BOUNDS(ID, ID) transformation)

Infered types.

(6) Obligation:

TRS:
Rules:
h(f(x)) → f(g(x))
g(x) → h(x)

Types:
h :: f → f
f :: f → f
g :: f → f
hole_f1_0 :: f
gen_f2_0 :: Nat → f

(7) OrderProof (LOWER BOUND(ID) transformation)

Heuristically decided to analyse the following defined symbols:
h, g

They will be analysed ascendingly in the following order:
h = g

(8) Obligation:

TRS:
Rules:
h(f(x)) → f(g(x))
g(x) → h(x)

Types:
h :: f → f
f :: f → f
g :: f → f
hole_f1_0 :: f
gen_f2_0 :: Nat → f

Generator Equations:
gen_f2_0(0) ⇔ hole_f1_0
gen_f2_0(+(x, 1)) ⇔ f(gen_f2_0(x))

The following defined symbols remain to be analysed:
g, h

They will be analysed ascendingly in the following order:
h = g

(9) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
g(gen_f2_0(n4_0)) → *3_0, rt ∈ Ω(n40)

Induction Base:
g(gen_f2_0(0))

Induction Step:
g(gen_f2_0(+(n4_0, 1))) →RΩ(1)
h(gen_f2_0(+(n4_0, 1))) →RΩ(1)
f(g(gen_f2_0(n4_0))) →IH
f(*3_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(10) Complex Obligation (BEST)

(11) Obligation:

TRS:
Rules:
h(f(x)) → f(g(x))
g(x) → h(x)

Types:
h :: f → f
f :: f → f
g :: f → f
hole_f1_0 :: f
gen_f2_0 :: Nat → f

Lemmas:
g(gen_f2_0(n4_0)) → *3_0, rt ∈ Ω(n40)

Generator Equations:
gen_f2_0(0) ⇔ hole_f1_0
gen_f2_0(+(x, 1)) ⇔ f(gen_f2_0(x))

The following defined symbols remain to be analysed:
h

They will be analysed ascendingly in the following order:
h = g

(12) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
h(gen_f2_0(+(1, n112_0))) → *3_0, rt ∈ Ω(n1120)

Induction Base:
h(gen_f2_0(+(1, 0)))

Induction Step:
h(gen_f2_0(+(1, +(n112_0, 1)))) →RΩ(1)
f(g(gen_f2_0(+(1, n112_0)))) →RΩ(1)
f(h(gen_f2_0(+(1, n112_0)))) →IH
f(*3_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(13) Complex Obligation (BEST)

(14) Obligation:

TRS:
Rules:
h(f(x)) → f(g(x))
g(x) → h(x)

Types:
h :: f → f
f :: f → f
g :: f → f
hole_f1_0 :: f
gen_f2_0 :: Nat → f

Lemmas:
g(gen_f2_0(n4_0)) → *3_0, rt ∈ Ω(n40)
h(gen_f2_0(+(1, n112_0))) → *3_0, rt ∈ Ω(n1120)

Generator Equations:
gen_f2_0(0) ⇔ hole_f1_0
gen_f2_0(+(x, 1)) ⇔ f(gen_f2_0(x))

The following defined symbols remain to be analysed:
g

They will be analysed ascendingly in the following order:
h = g

(15) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
g(gen_f2_0(n335_0)) → *3_0, rt ∈ Ω(n3350)

Induction Base:
g(gen_f2_0(0))

Induction Step:
g(gen_f2_0(+(n335_0, 1))) →RΩ(1)
h(gen_f2_0(+(n335_0, 1))) →RΩ(1)
f(g(gen_f2_0(n335_0))) →IH
f(*3_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(16) Complex Obligation (BEST)

(17) Obligation:

TRS:
Rules:
h(f(x)) → f(g(x))
g(x) → h(x)

Types:
h :: f → f
f :: f → f
g :: f → f
hole_f1_0 :: f
gen_f2_0 :: Nat → f

Lemmas:
g(gen_f2_0(n335_0)) → *3_0, rt ∈ Ω(n3350)
h(gen_f2_0(+(1, n112_0))) → *3_0, rt ∈ Ω(n1120)

Generator Equations:
gen_f2_0(0) ⇔ hole_f1_0
gen_f2_0(+(x, 1)) ⇔ f(gen_f2_0(x))

No more defined symbols left to analyse.

(18) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
g(gen_f2_0(n335_0)) → *3_0, rt ∈ Ω(n3350)

(19) BOUNDS(n^1, INF)

(20) Obligation:

TRS:
Rules:
h(f(x)) → f(g(x))
g(x) → h(x)

Types:
h :: f → f
f :: f → f
g :: f → f
hole_f1_0 :: f
gen_f2_0 :: Nat → f

Lemmas:
g(gen_f2_0(n335_0)) → *3_0, rt ∈ Ω(n3350)
h(gen_f2_0(+(1, n112_0))) → *3_0, rt ∈ Ω(n1120)

Generator Equations:
gen_f2_0(0) ⇔ hole_f1_0
gen_f2_0(+(x, 1)) ⇔ f(gen_f2_0(x))

No more defined symbols left to analyse.

(21) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
g(gen_f2_0(n335_0)) → *3_0, rt ∈ Ω(n3350)

(22) BOUNDS(n^1, INF)

(23) Obligation:

TRS:
Rules:
h(f(x)) → f(g(x))
g(x) → h(x)

Types:
h :: f → f
f :: f → f
g :: f → f
hole_f1_0 :: f
gen_f2_0 :: Nat → f

Lemmas:
g(gen_f2_0(n4_0)) → *3_0, rt ∈ Ω(n40)
h(gen_f2_0(+(1, n112_0))) → *3_0, rt ∈ Ω(n1120)

Generator Equations:
gen_f2_0(0) ⇔ hole_f1_0
gen_f2_0(+(x, 1)) ⇔ f(gen_f2_0(x))

No more defined symbols left to analyse.

(24) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
g(gen_f2_0(n4_0)) → *3_0, rt ∈ Ω(n40)

(25) BOUNDS(n^1, INF)

(26) Obligation:

TRS:
Rules:
h(f(x)) → f(g(x))
g(x) → h(x)

Types:
h :: f → f
f :: f → f
g :: f → f
hole_f1_0 :: f
gen_f2_0 :: Nat → f

Lemmas:
g(gen_f2_0(n4_0)) → *3_0, rt ∈ Ω(n40)

Generator Equations:
gen_f2_0(0) ⇔ hole_f1_0
gen_f2_0(+(x, 1)) ⇔ f(gen_f2_0(x))

No more defined symbols left to analyse.

(27) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
g(gen_f2_0(n4_0)) → *3_0, rt ∈ Ω(n40)

(28) BOUNDS(n^1, INF)